//
//  HLLCusTextField.m
//  PhotoHLL
//
//  Created by mac on 2017/9/20.
//  Copyright © 2017年 yangweiwei. All rights reserved.
//

#import "HLLCusTextField.h"
#define SelfHigh_Text self.bounds.size.height

 

@implementation HLLCusTextField
- (void)awakeFromNib

{
    [super awakeFromNib];
    NSLog(@"awake from nib");
    [[NSBundle mainBundle] loadNibNamed:@"HLLCusTextField" owner:self options:nil];
    
    [self addSubview:self.contentView];
    
}
- (void)setFrame:(CGRect)frame

{
    
    [super setFrame:frame];
    
    CGRect rect = frame;
    
    rect.origin.x = 0;
    
    rect.origin.y = 0;
    
    
    
    self.contentView.frame = rect;
    
}
//- (instancetype)initWithCoder:(NSCoder *)aDecoder{

//   self = [super initWithCoder:aDecoder]; 
//    if (self) {
//        [[NSBundle mainBundle] loadNibNamed:@"HLLCusTextField"owner:self options:nil];  
 //       self.frame = self.contentView.frame;
 //       [self addSubview:self.contentView];
        
//    } 
//    return self;
//}
 
@end
